//==============================================================================
// Charioteria_anim.txt
//==============================================================================

import Construction_defines_anim.txt
import building_damage_defines_anim.txt

//==============================================================================
define empower
{
   SetSelector
   {
      EmpowerLogic
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualnone Jimmy
            }
         }
      }
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualparticle SFX E Pharaoh Empower Large
            }
         }
      }
   }
}

//==============================================================================
anim idle
{
   SetSelector
   {
      TechLogic age 2/age 3/age 4
 //---------------------------Age 2--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 50
         set hotspot
         {
            version
            {
              Visual Building E Charioteria_age1
				connect ATTACHPOINT empower hotspot

            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint E_LonE_Brick hotspot
		         connect face E_LonE_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint E_LonE_Brick hotspot
		         connect face E_LonE_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
      }
 //---------------------------Age 3--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 50
         set hotspot
         {
            version
            {
              Visual Building E Charioteria
                     ReplaceTexture building e age2/building e age3
                     ReplaceTexture Building N Odin Wonder/Building Beta E Charioteria Walls
                     ReplaceTexture building x temple age2/building e charioteriadoor
				connect ATTACHPOINT empower hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint E_LonE_Brick hotspot
		         connect face E_LonE_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint E_LonE_Brick hotspot
		         connect face E_LonE_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
      }
    //---------------------------Age 4--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 50
         set hotspot
         {
            version
            {
              Visual Building E Charioteria age3
				connect ATTACHPOINT empower hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint E_LonE_Brick hotspot
		         connect face E_LonE_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint E_LonE_Brick hotspot
		         connect face E_LonE_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
      }
   }
}

//==============================================================================
anim Death
{
   SetSelector
   {
      TechLogic age 2/age 3/age 4
 //---------------------------Age 2--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 50
         set hotspot
         {
            version
            {
              Visual Building E Charioteria_age1
					connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint E_LonE_Brick hotspot
		         connect face E_LonE_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint E_LonE_Brick hotspot
		         connect face E_LonE_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
      }
 //---------------------------Age 3--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 50
         set hotspot
         {
            version
            {
              Visual Building E Charioteria
                     ReplaceTexture building e age2/building e age3
                     ReplaceTexture Building N Odin Wonder/Building Beta E Charioteria Walls
                     ReplaceTexture building x temple age2/building e charioteriadoor
					connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot

            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint E_LonE_Brick hotspot
		         connect face E_LonE_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint E_LonE_Brick hotspot
		         connect face E_LonE_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
      }
    //---------------------------Age 4--------------------------------// 
      SetSelector
      {
         ConstructionLogic 0 50
         set hotspot
         {
            version
            {
              Visual Building E Charioteria age3
					connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint E_LonE_Brick hotspot
		         connect face E_LonE_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint E_LonE_Brick hotspot
		         connect face E_LonE_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
      }
   }
}
